export const jsonFormatCode = `
export const formatJSON = (json: string) => {
    try {
        const format = JSON.parse(json);
        window.$message?.success('格式化成功');
        console.log(JSON.stringify(format, null, 2));
    } catch (err) {
        console.log(err.message);
    }
}
`
